package com.lingnan.blog.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    /**
     * 评论ID
     */
    private Integer id;

    /**
     * 发表用户ID
     */
    private String uId;

    /**
     * 评论博文ID
     */
    private Integer aId;

    /**
     * 评论内容
     */
    private String content;

    /**
     * 评论日期
     */
    private String cmtime;

    /**
     * 父评论ID
     */
    private Integer pId;

    private String photo;

    private String nickname;
}